home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / var / lib / dpkg / info / ure.preinst < prev    next >
Encoding:
Text File  |  2012-10-11  |  1.0 KB  |  36 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. . /usr/share/debconf/confmodule
  6.  
  7. if [ "$1" = "upgrade" ]; then
  8.     if dpkg --compare-versions $2 ge 1.5.0+OOo3.1.0-2 && \
  9.        dpkg --compare-versions $2 le 1.5.1+OOo3.1.1-14; then
  10.         if [ "$DEBIAN_FRONTEND" = "noninteractive" ]; then
  11.             echo "Component registries might be corrupted" >&2
  12.             echo "" >&2
  13.             echo "You are upgrading from a version which might have corrupted service/component" >&2
  14.              echo "registry files (*.rdb)." >&2
  15.             echo "" >&2
  16.              echo "Especially /var/lib/openoffice/basis3.1/program/services.rdb and the" >&2
  17.              echo "rdbs below /var/spool/openoffice/uno_packages/cache for installed extensions." >&2
  18.             echo "" >&2
  19.             echo "If you experience problems with the component manager or segmentation faults" >&2
  20.             echo "in either unopkg or OOo which involve store, please check those" >&2
  21.             echo "(and eventually cleanly reinstall the packages and/or use a clean user profile)" >&2
  22.         else
  23.             db_input high ure/possibly_corrupted_rdbs || true
  24.             db_go || true
  25.         fi
  26.     fi
  27. fi
  28.  
  29.  
  30.  
  31. exit 0
  32.  
  33. LIBSUFFIX=li
  34. PLATFORMID=linux_x86
  35.  
  36.